import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import UnoCSS from 'unocss/vite'
import { presetUno } from '@unocss/preset-uno'
import type { PluginOption } from 'vite'

// https://vite.dev/config/
export default defineConfig({
  plugins: [
    UnoCSS({
      presets: [presetUno()]
    }),
    svelte()
  ] as PluginOption[],
})
